#ifndef QUERYPAGE_H
#define QUERYPAGE_H

#include <QMainWindow>
#include "creditutility.h"
namespace Ui {
class QueryPage;
}

class QueryPage : public QMainWindow
{
    Q_OBJECT

public:
    explicit QueryPage(QWidget *parent = nullptr);
    ~QueryPage();
    QMainWindow *home;
    QMap<QString, Student> students;
    QMap<QString, Activity> activities;

    QStringList ActivityTypeNames(ActivityType type);
public slots:
    void initialization(QString ID);
private slots:
    void on_homeBtn_clicked();

    void on_queryEdit_editingFinished();

private:
    Ui::QueryPage *ui;
};

#endif // QUERYPAGE_H
